<!DOCTYPE html>
<html lang="zh">
  {include file="public/head"}
  <link rel="stylesheet" type="text/css" href="/static/admin/js/webuploader/webuploader.css">
  <body>
    <div class="container-fluid">
      <div class="row">
        <div class="col-md-6">
          <div class="card">
            <div class="card-header">
              <div class="card-title">下单用户信息</div>
            </div>
            <div class="card-body">
              <div class="d-flex">
                <img src="{$user_info.avatar}" class="rounded-circle me-3" style="width: 80px;height: 80px">
              </div>
              <hr>
              <div class="mb-2">
                <label>下单用户名：</label>
                <label>{$user_info.username}</label>
              </div>
              <hr>
              <div class="mb-2">
                <label>用户信息：</label>
                <label>邮箱：{$user_info.mail} ; 学校：{$user_info.school} ; 专业：{$user_info.major} ; 年级：{$user_info.grade} ;
                  排名：{$user_info.rank} </label>
              </div>
              <hr>
              <div class="mb-2">
                <label>能力：</label>
                <label>GPA：{$user_info.gpa} ; 托福：{$user_info.toefl} ; 雅思：{$user_info.ielts} ; LSAT：{$user_info.lsat} ; GRE{$user_info.gre} </label>
              </div>
              <hr>
              <div class="mb-2">
                <label>交换项目：</label>
                <label>{$user_info.exchange_country} - {$user_info.exchange_project} - {$user_info.exchange_time}</label>
              </div>
              <hr>
              <div class="mb-2">
              <label>学业：</label>
              <label>本科：{$user_info.ug_degree} - {$user_info.ug_major} - {$user_info.ug_graduation};  研究生：{$user_info.gd_degree} - {$user_info.gd_major} - {$user_info.gd_graduation}  </label>
            </div> 
              <hr>
              <div class="mb-2">
                <label>目标学校：</label>
                <label>{$user_info.target_school}; 目标专业：{$user_info.target_major}</label>
              </div>
              <hr>
            </div>
          </div>
        </div>

        <div class="col-md-6">
          <div class="card">
            <div class="card-header">
              <div class="card-title">订单详情</div>
            </div>
            <div class="card-body">
              <div class="mb-2">
                <label>订单单号：</label>
                <label>{$order_info.order_data.order_no}</label>
              </div>
              <hr>
              <div class="mb-2">
                <label>服务类型：</label>
                <label>{$order_info.order_data.service_name}</label>
              </div>
              <hr>
              <div class="mb-2">
                <label>订单备注：</label>
                <label>{$order_info.order_data.remark}</label>
              </div>
              <hr>
            </div>
          </div>
        </div>

      </div>

      <div class="row">

        <div class="col-lg-12">
          <div class="card">
            <header class="card-header">
              <div class="card-title">订单信息</div>
            </header>
            <div class="card-body">
              <form class="row" id="common_form" action="{$action}" method="post">

                <div class="mb-3 col-md-12">
                  <div class="mb-3 col-md-12">
                    <label for="expected_time" class="form-label">
                    <h6>第一步：待用户提交资料，给出反馈</h6>
                    </label>
                    {if !empty($order_info.order_server_data.user_name) && !empty($order_info.order_server_data.birthday)}
                    <div class="mb-3">
                      <label for="upload_size" class="form-label">用户信息：</label>
                      <div class="row">
                        <div class="col">
                          <label for="inputZip" class="form-label">姓名(拼音)：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.user_name}" aria-label="user_name">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">出生日期：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.birthday}" aria-label="birthday">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">是否是美国公民：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.is_us}" aria-label="is_us">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">国籍：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.nationality}" aria-label="nationality">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">母语：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.language}" aria-label="language">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">邮箱：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.mail}" aria-label="mail">
                        </div>
                      </div>
                    </div>

                    <div class="mb-3">
                      <label for="upload_size" class="form-label">居住地址：</label>
                      <div class="row">
                        <div class="col">
                          <label for="inputZip" class="form-label">国家：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.habitation.country}" aria-label="country">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">省：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.habitation.province}" aria-label="province">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">市：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.habitation.city}" aria-label="city">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">地址：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.habitation.address}" aria-label="address">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">邮编：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.habitation.postal}" aria-label="postal">
                        </div>
                      </div>
                    </div>

                    <div class="mb-3">
                      <label for="upload_size" class="form-label">法本学校：</label>
                      <div class="row">
                        <div class="col">
                          <label for="inputZip" class="form-label">校名：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.fb_school.name}" aria-label="name">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">国家：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.fb_school.country}" aria-label="country">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">省：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.fb_school.province}" aria-label="province">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">市：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.fb_school.city}" aria-label="city">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">专业：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.fb_school.major}" aria-label="major">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">入学时间：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.fb_school.start_time}" aria-label="start_time">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">毕业时间：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.fb_school.end_time}" aria-label="end_time">
                        </div>
                      </div>
                    </div>
                    <div class="mb-3">
                      <label for="upload_size" class="form-label">高中学校：</label>
                      <div class="row">
                        <div class="col">
                          <label for="inputZip" class="form-label">校名：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.high_school.name}" aria-label="name">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">国家：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.high_school.country}" aria-label="country">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">省：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.high_school.province}" aria-label="province">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">市：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.high_school.city}" aria-label="city">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">学位：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.high_school.degree}" aria-label="degree">
                        </div>
                        <div class="col">
                          <label for="inputZip" class="form-label">毕业时间：</label>
                          <input type="text" class="form-control" value="{$order_info.order_server_data.high_school.end_time}" aria-label="end_time">
                        </div>
                      </div>
                    </div>
                    <div class="mb-3 col-md-12">
                      <label class="form-label">申请使用信息：</label>
                      <textarea class="form-control" rows="6" style="width:70%">{$order_info.order_server_data.apply_use}</textarea>

                      {if !empty($order_info.order_server_data.apply_use_img)}
                      <br />
                      <label class="form-label">图片附件：</label>
                      <div class="mb-2">
                        <label>
                          {volist name="order_info.order_server_data.apply_use_img" id="v"}
                          <a href="{$v}" target="_blank">
                            <img src="{$v}" style="width: 240px;height: 240px">
                          </a>
                          {/volist}
                        </label>
                      </div>
                      {/if}
                      {if !empty($order_info.order_server_data.apply_use_file)}
                      <label class="form-label">文件附件：</label>
                      <div class="mb-2">
                        <label>
                          {volist name="order_info.order_server_data.apply_use_file" id="v" key="k"}
                          <a href="{$v}" class="link-primary" target="_blank">({$k})：{$v}</a>
                          {/volist}
                        </label>
                      </div>
                      {/if}
                    </div>

                    <div class="mb-3 col-md-3">
                      <label for="username" class="form-label">考试年月：</label>
                      <input type="text" class="form-control" value="{$order_info.order_server_data.exam_time}" />
                    </div>
                    <div class="mb-3 col-md-3">
                      <label for="username" class="form-label">考过雅思托福次数：</label>
                      <input type="text" class="form-control" value="{$order_info.order_server_data.exam_frequency}" />
                    </div>
                    <div class="mb-3 col-md-3">
                      <label for="username" class="form-label">选校清单 1- 10：</label>
                      <ul class="list-group">
                        {volist name="order_info.order_server_data.select_school" id="v"}
                        <li class="list-group-item">{$v}</li>
                        {/volist}
                      </ul>
                    </div>
                    <div class="mb-3 col-md-12">
                      <label for="expected_time" class="form-label">推荐人信息：</label>
                      <div class="input-group mb-3">
                        <div class="table-responsive-xl">
                          <table class="table">
                            <thead>
                              <tr>
                                <th scope="col">推荐人姓名</th>
                                <th scope="col">工作邮箱</th>
                                <th scope="col">工作地址</th>
                                <th scope="col">单位地址</th>
                                <th scope="col">联系方式</th>
                              </tr>
                            </thead>
                            <tbody>
                              {if !empty($order_info.order_server_data.referee_1)}
                              <tr>
                                <th scope="row">{$order_info.order_server_data.referee_1.name}</th>
                                <td>{$order_info.order_server_data.referee_1.mail}</td>
                                <td>{$order_info.order_server_data.referee_1.work_address}</td>
                                <td>{$order_info.order_server_data.referee_1.company_address}</td>
                                <td>{$order_info.order_server_data.referee_1.contact}</td>
                              </tr>
                              {/if}
                              {if !empty($order_info.order_server_data.referee_2)}
                              <tr>
                                <th scope="row">{$order_info.order_server_data.referee_2.name}</th>
                                <td>{$order_info.order_server_data.referee_2.mail}</td>
                                <td>{$order_info.order_server_data.referee_2.work_address}</td>
                                <td>{$order_info.order_server_data.referee_2.company_address}</td>
                                <td>{$order_info.order_server_data.referee_2.contact}</td>
                              </tr>
                              {/if}
                            </tbody>
                          </table>
                        </div>
                      </div>
                    </div>
                    <div class="mb-3 col-md-3">
                      <label for="username" class="form-label">推荐方式：</label>
                      <input type="text" class="form-control" value="{$order_info.order_server_data.referee_way}" />
                    </div>

                    <input type="hidden" name="message_step" value="13">

                    <div class="mb-3 col-md-12">
                      <label for="meeting_link" class="form-label">
                      <h6>第二步：给出反馈</h6>
                      </label>
                      <textarea class="form-control" rows="6" name="expert_thinking" style="width:70%" placeholder="请填写反馈内容">{$order_info.order_server_data.expert_thinking}</textarea>
                      <label for="expected_time" class="form-label">修改建议附件:</label>
                      <div class="clearfix">
                        <div class="filePicker_more">选择文件</div>
                        <ul class="show_more_file">
                          {volist name="$order_info.order_server_data.expert_thinking_file" id="v" key="k"}
                          <li>文件名称：{$v.file_name} &nbsp;&nbsp;&nbsp;链接地址：<a href="{$v.file_path}" target="_blank">{$v.file_path}</a>
                            <input type="hidden" name="expert_thinking_file[{$k}][file_name]" value="{$v.file_path}">
                            <input type="hidden" name="expert_thinking_file[{$k}][file_path]" value="{$v.file_path}">
                            <i class="mdi mdi-delete-forever mdi-24px del_more_file"></i>
                          </li>
                          {/volist}
                        </ul>
                        <label id="file_name"></label>
                        <label id="file_size">&nbsp;&nbsp;&nbsp;&nbsp;</label>
                        <label id="file_time">&nbsp;&nbsp;&nbsp;&nbsp;</label>
                        <div class="progress-bar" role="progressbar" style="width: 0%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">0%</div>
                      </div>
                    </div>

                    {/if}
                  </div>

                  {if !empty($order_info.order_server_data.supplement) || !empty($order_info.order_server_data.enclosure_img) ||!empty($order_info.order_server_data.enclosure_file)}
                  <div class="mb-3 col-md-12">
                    <label for="meeting_link" class="form-label">
                      <h6>第三步：查看用户补充内容,等待用户预约时间</h6>
                    </label>
                    <textarea class="form-control" rows="6" style="width:70%">{$order_info.order_server_data.supplement}</textarea>
                    {if !empty($order_info.order_server_data.enclosure_img)}
                    <br />
                    <label class="form-label">图片附件：</label>
                    <div class="mb-2">
                      <label>
                        {volist name="order_info.order_server_data.enclosure_img" id="v"}
                        <a href="{$v}" target="_blank">
                          <img src="{$v}" style="width: 240px;height: 240px">
                        </a>
                        {/volist}
                      </label>
                    </div>
                    {/if}
                    {if !empty($order_info.order_server_data.enclosure_file)}
                    <label class="form-label">文件附件：</label>
                    <div class="mb-2">
                      <label>
                        {volist name="order_info.order_server_data.enclosure_file" id="v" key="k"}
                        <a href="{$v}" class="link-primary" target="_blank">({$k})：{$v}</a>
                        {/volist}
                      </label>
                    </div>
                    {/if}
                  </div>
                  {/if}

                  {if !empty($order_info.order_server_data.expected_time)}
                  <div class="mb-3 col-md-12">
                    <label for="expected_time" class="form-label">
                    <h6>第四步：用户选择预约时间段，请确认时间并上传会议链接</h6>
                    </label>
                    <div class="clearfix">
                      {volist name="$order_info.order_server_data.expected_time" id="v"}
                      <div class="form-check form-check-inline">
                        <input type="radio" id="expected_time" name="confirm_time" class="form-check-input" value="{$v|strtotime}" {if $order_info.order_server_data.confirm_time==$v}checked {/if} {notempty name="$order_info.order_server_data.confirm_time" }disabled="" {/notempty}>
                             <label class="form-check-label" for="expected_time">{$v}</label>
                      </div>
                      {/volist}
                    </div>
                  <input type="hidden" name="message_step" value="2">
                  </div>
                  <label for="price" class="form-label">
                  <h6>上传会议链接：</h6>
                  </label>
                  <div class="input-group mb-3">
                    <span class="input-group-text">会议链接</span>
                    <input type="text" class="form-control" name="meeting_link" placeholder="请输入会议链接" value="{$order_info.order_server_data.meeting_link}" required>
                    <span class="input-group-text">会议密码</span>
                    <input type="text" class="form-control" name="meeting_pwd"  placeholder="请输入会议密码" value="{$order_info.order_server_data.meeting_pwd}">
                  </div>
                  {/if}

                  {if $order_info.order_server_data.user_is_confirm == 1}
                  <div class="mb-3 col-md-12">
                    <label for="meeting_link" class="form-label">
                    <h6>第五步：等待用户确认时间：</h6>
                    </label>
                    {if $order_info.order_server_data.user_is_confirm == 1}
                        <div class="input-group mb-3">
                          <label class="form-label text-success">
                          用户已确认时间
                          </label>
                        </div>
                    {else /}
                        <div class="input-group mb-3">
                          <label class="form-label link-info">
                          正在等待用户确认
                          </label>
                        </div>
                    {/if}
                  </div>
                  {/if}

  
                  {if $order_info.order_server_data.user_is_confirm == 1}
                  <div class="mb-3 col-md-12">
                    <label for="meeting_link" class="form-label">
                    <h6>第六步：等待用户完成邮寄：</h6>
                    </label>
                    {if !empty($order_info.order_server_data.express_time) && !empty($order_info.order_server_data.express_info)}
                        <div class="input-group mb-3">
                          <label class="form-label">
                          邮寄时间：{$order_info.order_server_data.express_time}&nbsp;&nbsp;
                          </label>
                          <label class="form-label">
                          邮寄信息：{$order_info.order_server_data.express_info}
                          </label>
                        </div>
                    {else /}
                        <div class="input-group mb-3">
                          <label class="form-label link-info">
                          正在等待用户完成邮寄
                          </label>
                        </div>
                    {/if}
                  </div>
                  {/if}

                  {if !empty($order_info.order_server_data.express_time) && !empty($order_info.order_server_data.express_info)}
                  <div class="mb-3 col-md-12">
                    <label for="meeting_link" class="form-label">
                    <h6>第七步：等待用户提交选校清单：</h6>
                    </label>
                    {if !empty($order_info.order_server_data.select_school_2)}
                        <div class="input-group mb-3">
                          <ul class="list-group">
                            {volist name="order_info.order_server_data.select_school" id="v"}
                            <li class="list-group-item">{$v}</li>
                            {/volist}
                          </ul>
                        </div>
                    {else /}
                        <div class="input-group mb-3">
                          <label class="form-label link-info">
                          正在等待用户提交选校清单
                          </label>
                        </div>
                    {/if}
                  </div>      
                  {/if}

                  {if !empty($order_info.order_server_data.select_school_2)}
                  <div class="mb-3 col-md-12">
                    <label for="meeting_link" class="form-label">
                    <h6>第八步(最终步)：请填写账号信息：</h6>
                    </label>
                    <textarea class="form-control" name="account_info" rows="6" style="width:70%" placeholder="请填写账号信息">{$order_info.order_server_data.account_info}</textarea>
                  </div>
                  <input type="hidden" name="message_step" value="14">
                  {/if}

                  
                  {if !empty($order_info.order_server_data.account_info)}
                  <div class="mb-3 col-md-12">
                    <label for="meeting_link" class="form-label">
                    <h6>第九步：上传账号信息完成，服务结束</h6>
                    </label>
                  </div>
                  {/if}



                  {if $order_info.order_data.status == 4}
                  <div class="mb-3 col-md-12">
                    <label for="meeting_link" class="form-label">
                    <h6 class="text-success">第十步：服务已完成，服务完成时间：{$order_info.order_data.complete_time}</h6>
                    </label>
                  </div>
                  {/if}
                  <input type="hidden" name="service_name" value="{$order_info.order_data.service_name}">
                  <input type="hidden" name="id" value="{$order_info.order_data.id}">
                  <input type="hidden" id="jump_url" value="self">

                  {if $order_info.order_data.status == 1}
                  <div class="mb-3 col-md-12">
                    <button type="submit" class="btn btn-primary ajax-post" target-form="add-form">确 定</button>
                    <button type="button" class="btn btn-default" id="close_layer_open">返 回</button>
                    <button type="button" class="btn btn btn-teal" id="refresh_page">
                      <i class="mdi mdi-file-refresh"></i>刷新页面
                    </button>
                    <button type="button" class="btn btn-success order-complete">
                      <i class="mdi mdi-checkbox-marked-circle-outline"></i>设置订单为已完成
                    </button>
                  </div>
                  {/if}
              </form>
            </div>
          </div>
        </div>

      </div>

    </div>
    {include file="public/script"}
    <script type="text/javascript" src="/static/admin/laydate/laydate.js"></script>
    <script type="text/javascript" src="/static/admin/js/webuploader/webuploader.js"></script>
    <script type="text/javascript">
      //多次上传
                var GUID = WebUploader.Base.guid();
                // 初始化Web Uploader
                var uploader = WebUploader.create({
                    // 选完文件后，是否自动上传。
                    auto: true,
                    // swf文件路径
                    swf: '/static/admin/js/webuploader/Uploader.swf',
                    // 文件接收服务端。
                    server: '/admin/common/chunkUpload',
                    pick: {
                        id:'.filePicker_more',
                        //是否开启多个文件选择能力
                        multiple:false,
                    },
                    chunked: true,   //开启分片上传
                    chunkSize: 2*1024*1024,   //分片大小
                    threads: 1,               //上传并发数。允许同时最大上传进程数。
                    formData: {guid: GUID, is_chunk:1},   //guid：任务号
                    //fileSingleSizeLimit:30*1024*1024,  //文件大小限制
                    fileVal:'file',
                    duplicate: true,  //可否可以重复上传相同文件（如果为true，则相同文件可以重复上传）
                });
                uploader.on('uploadProgress',function (file,percentage ) {
                //显示进度条
                    show_rate = Math.floor(percentage* 100);
                    $('.progress-bar').css({width:show_rate+'%'});
                    $('.progress-bar').text(show_rate+'%');
                })
                //上传成功时的回调方法
                uploader.on('uploadSuccess',function (file,res) {
                    if(res.code == 100)
                    {
                        var upload_more_size = $('.show_more_file li').length;
                        upload_more_size = upload_more_size+1;
                        console.log(upload_more_size);
                        //$('#file_path').html('&nbsp;&nbsp;&nbsp;&nbsp;文件地址：'+res.data.file_path);
                        //$('#file_path').attr('href', res.data.file_path);
                        $('#file_name').text('文件名称：'+res.data.file_name);
                        $('#file_size').html('&nbsp;&nbsp;&nbsp;&nbsp;文件大小：'+res.data.size);
                        $('#file_time').html('&nbsp;&nbsp;&nbsp;&nbsp;上传时间：'+res.data.time);
            
                        $('.show_more_file').append('<li>文件名称：'+res.data.file_name+' &nbsp;&nbsp;&nbsp;链接地址：<a href="'+res.data.file_path+'" target="_blank">'+res.data.file_path+'</a> &nbsp;&nbsp;&nbsp;上传时间：'+res.data.time+'<input type="hidden" name="expert_thinking_file['+upload_more_size+'][file_name]" value="'+res.data.file_name+'"><input type="hidden" name="expert_thinking_file['+upload_more_size+'][file_path]" value="'+res.data.file_path+'"><i class="mdi mdi-delete-forever mdi-24px del_more_file"></i></li>');
                    }else{
                        
                    }
                })
    </script>
    <script type="text/javascript">
      var GUID = WebUploader.Base.guid();
      // 初始化Web Uploader
      var uploader = WebUploader.create({
          // 选完文件后，是否自动上传。
          auto: true,
          // swf文件路径
          swf: '/static/admin/js/webuploader/Uploader.swf',
          // 文件接收服务端。
          server: '/admin/common/chunkUpload',
          pick: {
              id:'.filePicker',
              //是否开启多个文件选择能力
              multiple:false,
          },
          chunked: true,   //开启分片上传
          chunkSize: 2*1024*1024,   //分片大小
          threads: 1,               //上传并发数。允许同时最大上传进程数。
          formData: {guid: GUID, is_chunk:1},   //guid：任务号
          //fileSingleSizeLimit:30*1024*1024,  //文件大小限制
          fileVal:'file',
          duplicate: true,  //可否可以重复上传相同文件（如果为true，则相同文件可以重复上传）
      });
      
      uploader.on('uploadProgress',function (file,percentage ) {
          //显示进度条
          show_rate = Math.floor(percentage* 100);
          $('.progress-bar').css({width:show_rate+'%'});
          $('.progress-bar').text(show_rate+'%');
      })
      
      //上传成功时的回调方法
      uploader.on('uploadSuccess',function (file,res) {
          if(res.code == 100)
          {
              //$('#file_path').html('&nbsp;&nbsp;&nbsp;&nbsp;文件地址：'+res.data.file_path);
              //$('#file_path').attr('href', res.data.file_path);
              $('#file_name').text('文件名称：'+res.data.file_name);
              $('#file_size').html('&nbsp;&nbsp;&nbsp;&nbsp;文件大小：'+res.data.size);
              $('#file_time').html('&nbsp;&nbsp;&nbsp;&nbsp;上传时间：'+res.data.time);
          }else{
              
          }
      })
    </script>

    <script type="text/javascript">
      $(document).on("click",".del_more_file",function(){
    $(this).parent().remove();
})

      
      $('.order-complete').click(function(){
          layer.confirm('确定设置此订单为已完成吗?', function(index){
              $.post('/admin/expertOrder/setOrderComplete',{id:{$order_info.order_data.id}},function(res)
              {
                  if(res.code == 200)
                  {
                      showNotify(res.msg, 'success', 1000, 'mdi mdi-emoticon-happy', 'top', 'right', '{$action}');
      
                      $("#table").bootstrapTable('selectPage', $("#table").bootstrapTable("getOptions").pageNumber);  //跳转到此页
                  }else{
                      showNotify(res.msg, 'danger', 1000, 'mdi mdi-information-outline', 'top', 'right');
                  }
              })
              layer.close(index);
          })
      })
    </script>
  </body>
</html>